package com.he1618;

import com.influxdb.annotations.Column;
import com.influxdb.annotations.Measurement;
import lombok.Data;

import java.time.Instant;

@Data
@Measurement(name = "test")
public  class Mem {

  @Column(tag = true)
  String host;

  @Column
  Double used_percent;

  @Column
  Integer score;


  @Column
  Integer age;

  @Column(timestamp = true)
  Instant time;

}